<?php
class adminContact extends Grid
{
    public function __construct()
    {
        require_once('tableContact.php');
        $tableContact = new tableContact();

        $list       = $tableContact->autoSelect();

        $columns    = array('contactName', 'email', 'message');
        $widths     = array( 200, 200, 300);

        parent::Grid('tableContact', $columns, $list, $widths, 20 ,210, 24, 'columnTitle', 'text');

        $this->setPosition(10,40);
    }
}
?>